package com.itheima.d1_junit;

import org.junit.Test;

public class UserServiceTest {
    //公共的，无返回值的，非静态的，无参的方法
    @Test
    public void loginNameTest() {
        UserService userService = new UserService();
        String admin = userService.loginName("admin", "123456");
        System.out.println("admin = " + admin);
    }

    @Test
    public void selectNamesTest() {
        UserService userService = new UserService();
        userService.selectNames();
    }
}
